/*
 * 文件名：CouponInfo.java
 * 版权：Copyright by www.huawei.com
 * 描述：
 * 修改人：zhangshaohua
 * 修改时间：2016年4月18日
 * 跟踪单号：
 * 修改单号：
 * 修改内容：
 */

package com.zcsy.manage.model.mall;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 
 * @Title: CouponInfo.java
 * @Package： com.zcsy.manage.model.mall 
 * @Description: 优惠券实体类
 * @author zhangsh zsh3384027@gmail.com
 * @Copyright: 2016 武汉恒数利通技术有限公司 All rights reserved.
 * @date 2016年4月18日
 * @version 1.0
 * @see JDK1.8.0_45
 * @since
 */
public class CouponInfo {
	
	private String id;
	/**名称 */
	private String name;
	/**1平台新人券、2平台邀请券3满减券4商家免运费券 */
	private Integer type;
	/**小区ID */
	private String cellId;
	/**店铺ID */
	private String shopId;
	/**减免线 */
	private BigDecimal breakLine;
	/**减免金额 */
	private BigDecimal breakPrice;
	/**1新申请，2正常，3禁用，4审核未通过 */
	private Integer state;
	/**领取开始时间 */
	private String beginDate;
	/**领取结束时间 */
	private String endDate;
	/**数量 */
	private Integer count;
	/**发布账号 */
	private String userAccount;
	/**发布账号类型 */
	private Integer userAccountType;
	/**审核账号 */
	private String auditAccount;
	/**审核时间 */
	private Date auditTime;
	/**创建时间 */
	private Date createTime;
	/**编码 */
	private String code;
	/**有效天数 */
	private Integer availableDay;
	/**备注*/
	private String memo;
	/**小区名*/
	private String cellName;
	/**店铺名*/
	private String shopName;
	/**使用开始时间 */
	private String useBeginDate;
	/**使用结束时间 */
	private String useEndDate;
	/**搜索按钮状态*/
	private Integer selectState;
	/**优惠券发放数量*/
	private Integer countNumber;
	/**优惠券已使用数量*/
	private Integer useNumber;
	/**
     * 优惠券使用状态 1：未使用 2：已过期 3：已使用
     */
	private Integer couponState;
	
	/**优惠券是否领取 1：已领取 0：未领取*/
	private Integer isGot;
	
	
	// 提交订单使用字段
	private String couponDetailId;

    public Integer getUseNumber() {
		return useNumber;
	}

	public void setUseNumber(Integer useNumber) {
		this.useNumber = useNumber;
	}

	public Integer getCountNumber() {
		return countNumber;
	}

	public void setCountNumber(Integer countNumber) {
		this.countNumber = countNumber;
	}

	public String getUseBeginDate() {
		return useBeginDate;
	}

	public void setUseBeginDate(String useBeginDate) {
		this.useBeginDate = useBeginDate;
	}

	public String getUseEndDate() {
		return useEndDate;
	}

	public void setUseEndDate(String useEndDate) {
		this.useEndDate = useEndDate;
	}

	public Integer getSelectState() {
		return selectState;
	}

	public void setSelectState(Integer selectState) {
		this.selectState = selectState;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String getCellId() {
		return cellId;
	}

	public void setCellId(String cellId) {
		this.cellId = cellId;
	}

	public String getShopId() {
		return shopId;
	}

	public void setShopId(String shopId) {
		this.shopId = shopId;
	}

	public BigDecimal getBreakLine() {
		return breakLine;
	}

	public void setBreakLine(BigDecimal breakLine) {
		this.breakLine = breakLine;
	}

	public BigDecimal getBreakPrice() {
		return breakPrice;
	}

	public void setBreakPrice(BigDecimal breakPrice) {
		this.breakPrice = breakPrice;
	}

	public Integer getState() {
		return state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public String getBeginDate() {
		return beginDate;
	}

	public void setBeginDate(String beginDate) {
		this.beginDate = beginDate;
	}

	public String getEndDate() {
		return endDate;
	}

	public void setEndDate(String endDate) {
		this.endDate = endDate;
	}

	public Integer getCount() {
		return count;
	}

	public void setCount(Integer count) {
		this.count = count;
	}

	public String getUserAccount() {
		return userAccount;
	}

	public void setUserAccount(String userAccount) {
		this.userAccount = userAccount;
	}

	public Integer getUserAccountType() {
		return userAccountType;
	}

	public void setUserAccountType(Integer userAccountType) {
		this.userAccountType = userAccountType;
	}

	public String getAuditAccount() {
		return auditAccount;
	}

	public void setAuditAccount(String auditAccount) {
		this.auditAccount = auditAccount;
	}

	public Date getAuditTime() {
		return auditTime;
	}

	public void setAuditTime(Date auditTime) {
		this.auditTime = auditTime;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public Integer getAvailableDay() {
		return availableDay;
	}

	public void setAvailableDay(Integer availableDay) {
		this.availableDay = availableDay;
	}

	public String getMemo() {
		return memo;
	}

	public void setMemo(String memo) {
		this.memo = memo;
	}

	public String getCellName() {
		return cellName;
	}

	public void setCellName(String cellName) {
		this.cellName = cellName;
	}

	public String getShopName() {
		return shopName;
	}

	public void setShopName(String shopName) {
		this.shopName = shopName;
	}
	
	public Integer getCouponState() {
        return couponState;
    }

    public void setCouponState(Integer couponState) {
        this.couponState = couponState;
    }
    
    public Integer getIsGot() {
        return isGot;
    }

    public void setIsGot(Integer isGot) {
        this.isGot = isGot;
    }

    public String getCouponDetailId() {
        return couponDetailId;
    }

    public void setCouponDetailId(String couponDetailId) {
        this.couponDetailId = couponDetailId;
    }

}
